package cn.edu.cug.cs.gtl.apis.ui.datake;

import cn.edu.cug.cs.gtl.apis.ui.AbstractFrame;
import cn.edu.cug.cs.gtl.apis.ui.datake.catalogtree.CatalogPanel;
import cn.edu.cug.cs.gtl.apis.ui.datake.devicetree.DevicePanel;
import cn.edu.cug.cs.gtl.apis.ui.modeller.ModellerFrame;

import javax.swing.*;
import java.awt.*;

public abstract class DatakeFrame extends ModellerFrame {
    protected DevicePanel devicePanel = null;

    protected CatalogPanel catalogPanel = null;


    public DatakeFrame() throws HeadlessException {
    }

    public DatakeFrame(GraphicsConfiguration gc) {
        super(gc);
    }

    public DatakeFrame(String title) throws HeadlessException {
        super(title);
    }

    public DatakeFrame(String title, GraphicsConfiguration gc) {
        super(title, gc);
    }

    public DevicePanel getDevicePanel() {
        return devicePanel;
    }

    public CatalogPanel getCatalogPanel() {
        return catalogPanel;
    }

    public DatakeApp getDatakeApp() {return (DatakeApp) theApp;}


    public abstract JSplitPane getSplitPane();

    public abstract JTabbedPane getLeftTabbedPane();
    public abstract JTabbedPane getRightTabbedPane();

}
